ActionController::Routing::Routes.draw do |map|
  map.resources :users
  map.resource :session
  
  map.root :controller => "mum"
  
  map.login   "login", :controller => "sessions", :action => 'new'
  map.logout  "logout", :controller => "sessions", :action => 'destroy'
  map.signup  "signup", :controller => "users", :action => 'new'
  map.user_home "home", :controller => "users", :action => 'home'
  map.update "update", :controller => "users", :action => 'update'
  map.copiagenda "get_copiagenda", :controller => "users", :action => 'get_copiagenda'
  map.user_send_sms "send", :controller => "users", :action => 'send_sms'
  map.user_list_sms_ajax "list_sms_ajax", :controller => "users", :action => 'list_sms_ajax'
  map.mum_dondeesta "dondeesta/:login", :controller => "mum", :action => 'dondeesta'

  map.connect ':controller/:action/:id'
  map.connect ':controller/:action/:id.:format'
end
